package com.wwx.worldonwheels.VO;


import lombok.Data;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * ClassName: customerVO
 * Description:
 * CreatedBy: HuaHX
 */
@Validated
@Data
public class CustomerVO {

    private static final long serialVersionUID = 1L;

    /** customer id  */
    private Integer custId;

    /** street */
    private String addrStreet;

    /** city */
    private String addrCity;

    /** zip */

    private Integer addrZip;

    /** country */

    private String addrCountry;

    /** customer email */

    private String email;


    private String phone;

    /** type of customer, corporate or individual */
@NotBlank(message = "custType can not be empty")
    private String custType;

    /** password */

    private String password;
/*******************************************************************/
    /** the first name of individual */

    private String fname;

    /** the middle name of individual */

    private String mname;

    /** the last name of individual */

    private String lname;

    /** the license number */

    private Integer licenseNo;

    /** the name of insurance */

    private String insurName;

    /** the insurance number */

    private Integer insurNo;
/*******************************************************************/
    /** the name of corpoate */

    private String name;

    /** the register number of corporate */

    private Integer regisNo;

    /** the employee id  */

    private Integer empId;

    /** the email account */

    private String accEmail;



}
